﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Double_Betting.ascx.cs"
    Inherits="APP_Controls_Double_Betting" %>

<script src="js/jquery-1.8.0.min.js" type="text/javascript"></script>
<script src="js/jquery-1.9.1.js" type="text/javascript"></script>
<script src="App_Themes/js/jquery.jBox-2.3.min.js" type="text/javascript"></script>
<script src="App_Themes/js/jquery.jBox-zh-CN.js" type="text/javascript"></script>
<link href="App_Themes/css/Red/jbox.css" rel="stylesheet" type="text/css" />
<script>
    function login() {
        $("#box11 .011").trigger('click');
    }
    function CheckUserLogin() {
        $.ajax({
            type: "get",
            dataType: "text",
            url: "Ajax/CMember.ashx?",
            data: { t: 'GetLoginInfo' },
            success: function (data) {
                if (data.indexOf('请登录') != -1) {
                    login();
                    return false;

                }
                else {
                    window.location.href = "per_record.aspx?n=1";
                }
            }
        });
    }
</script>
<div class="purchase_header">
    <h2 class="history_logo">
        <img src="images/red_logo.jpg" /></h2>
    <div class="lottery_name">
        <h2>双色球</h2>
       
        <p>第<b><%=curModelLottery!= null?(Convert.ToInt32(curModelLottery[0].LotteryQS)+1):000000 %></b>期</p>
        <p>
            奖池：<em><%=Math.Round(Convert.ToDouble(curModelLotteryMoney/100000000),2)%></em> 亿
                <%--    <em><%=Convert.ToInt16(curModelLotteryMoney % 100000000 / 10000)%></em> 万--%>
        </p>
        <div>
            <p>每周二、四、日 21:15 开奖</p>
            <p>本期投注截止<%=curModelLotterys != null?curModelLotterys[0].pre_opentime.ToString("yy-MM-dd"):DateTime.Now.ToString("yy-MM-dd")%> 19:30</p>
        </div>
    </div>
    <div class="lottery_results_betting">
        <p class="l_r_red">上期开奖号码</p>
        <p>第  <%=curModelLottery != null?curModelLottery[0].LotteryQS:"000000" %>  期 开奖结果</p>
        <ul class="lottery_results_ul">
            <%=bindLotteryNo(curModelLottery != null?curModelLottery[0].LotteryNo:"0,0,0,0,0,0+0")%>
        </ul>
        <a href="lottery.aspx" class="lottery_results_detail">详细&gt;</a>
        <ul class="lottery_results_ul_a">
            <li><a href="movements.aspx">走势图</a></li>
            <li><a href="history_lottery.aspx" class="l_cur">历史开奖</a></li>
            <li><a href="">玩法介绍</a></li>
        </ul>
    </div>
    <a href="movements.aspx" class="betting_movements">数据走势</a>
</div>
<!--Nav-->
<div class="betting_nav_box">
    <ul class="betting_nav_left">
        <li><a href="#" class="b_cur">选号投注</a></li>
        <li><a href="togetherbuy.aspx">参与合买</a></li>
        <li><a href="guoguan.aspx">过关统计</a></li>
        <li><a href="gendan_auto.aspx">定制跟单</a></li>

        <li><a href="#" onclick="javascript:CheckUserLogin();">投注记录</a></li>
    </ul>
    <ul class="betting_nav_right">
        <li class="last"><a href="jjjs_ssq_zigou.aspx">奖金计算</a></li>
        <li><a href="">玩法介绍</a></li>
        <li><a href="Meitiyuce_ssq.aspx">预测选号</a></li>
        <li><a href="double_killno.aspx?m=3">杀号定胆</a></li>
        <li><a href="movements.aspx">走势图表</a></li>
    </ul>
</div>
<!--Nav-->
<!--Betting-->
<ul class="betting_nav_con">
    <li<%if (m == 0)
        {%>
        class="cur" <%} %>><a href="double_betting.aspx?m=0">普通投注</a></li>
       <li<%if (m == 1)
           { %> class="cur"<%} %>><a href="double_dantuo.aspx?m=1">胆拖投注</a></li>
        <li<%if (m == 2)
            { %> class="cur"<%} %>><a href="double_copy.aspx?m=2">粘贴选号</a></li>
            <li<%if (m == 3)
                { %> class="cur"<%} %>><a href="double_killno.aspx?m=3">杀号定胆</a></li>
           <li<%if (m == 4)
               { %> class="cur"<%} %>><a href="double_danshicopy.aspx?m=4">单式上传</a></li>
       <%--  <li><a href="">杀号定胆</a></li>
        <li><a href="">缩水</a></li>
        <li><a href="">多期机选</a></li>
   
        <li><a href="">单式上传</a></li>
        <li><a href="">预测选号</a></li>--%>
</ul>
<!--Betting-->
